package com.lsc.www.day06;

public class Test02 {
    public static void main(String[] args) {
        Chinese.setCountry("中国");
        Chinese chinese = new Chinese();
        chinese.setName("张三");
        chinese.setId("1231421243");
        //                         前面两个是引用.                   后面这个是类名.
        System.out.println(chinese.getId() + chinese.getName() + Chinese.getCountry());
    }

    //类加载时机
    static {

    }
}
